package com.qf.Mapper;

import com.qf.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/*2021/10/13*/public interface StudentMapper {
    List<Student> selectAll();
    Student selectOne(Integer stuId);
    List<Student> selectByGenderAndGid(@Param("gradeId") Integer gradeId, @Param("stuGender") String stuGender);
    List<Student> selectByGenderAndGidAndAddress(Map<String, Object> map);
    List<Student> selectByGidAndGender2(String stuGender, Integer gid);
    List<Student> selectByGidAndGender3(String stuGender, Integer gid);
    List<Student> selectLike(String stuName);

    int insertStudent(Student student);
    int insertUpdate(Student student);
    int delete(int stuId);

}
